<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
		<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
		<jsp:include page="head.html"/>
	</head>
	<body>
		<h1>URLAUBSVERWALTUNG</h1><hr></hr>
		<jsp:include page="menu.html"/>
		<div id="inhalt">
			<h2><c:out value="${title}"/></h2>
			<p><c:out value="${message}"/></p>
				<fieldset style="width:425px">
					<table class="listing">
						<colgroup>
							<col class="buttoncell"/>
							<col class="buttoncell"/>
							<col/>
							<col/>
							<col/>
						</colgroup>
						<tbody>
							<tr>
								<td></td>
								<td></td>
								<td><b>Jahr</b></td>
							</tr>
							<c:forEach items="${allejahre}" var="jahr">
								<tr>
									<td align="right">
										<a href="LoescheJahr.s?id=<c:out value="${jahr.id}"/>">
											<img src="images/button_delete.png" alt="Icon - Loesche Jahr"/>
										</a>
									</td>
									<td align="center">
										<a href="EditJahr.s?id=<c:out value="${jahr.id}"/>">
											<img src="images/button_edit.png" alt="Icon - Aendere Sperrtag"/>
										</a>
									</td>
									<td align="left">
										<a href="EditJahr.s?id=<c:out value="${jahr.id}"/>">
											<c:out value="${jahr.jahr}"/>
										</a>
									</td>
								</tr>
							</c:forEach> 
						</tbody>
					</table>
				</fieldset>
		</div>
		<jsp:include page="menurechts.html"/>
	</body>
</html>